package com.ruoyi.statistics.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 销售统计对象 statistics
 *
 * @author zjh
 * @date 2022-06-17
 */
public class Statistics extends BaseEntity {

    private String beginTime;
    private String endTime;

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    /**
     * 创建人的deptId
     */
    private Long deptId;

    /**
     * 客户的companyId
     */
    private Long companyId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 客户的userId
     */
    private Long userId;

    /**
     * 客户的deptName
     */
    @Excel(name = "客户名称")
    private String deptName;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 产品名称
     */
    private String productType;



    /**
     * 订单数量
     */
    @Excel(name = "累计订单数量")
    private int countNum;

    /**
     * 产品销售数量
     */
    @Excel(name = "累计销售数量")
    private int sumNum;

    /**
     * 订单含税金额
     */
    @Excel(name = "累计订单金额")
    @JsonSerialize(using= ToStringSerializer.class)
    private BigDecimal saleOrderTaxAmount;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public BigDecimal getSaleOrderTaxAmount() {
        return saleOrderTaxAmount;
    }

    public void setSaleOrderTaxAmount(BigDecimal saleOrderTaxAmount) {
        this.saleOrderTaxAmount = saleOrderTaxAmount;
    }

    public int getCountNum() {
        return countNum;
    }

    public void setCountNum(int countNum) {
        this.countNum = countNum;
    }

    public int getSumNum() {
        return sumNum;
    }

    public void setSumNum(int sumNum) {
        this.sumNum = sumNum;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

}
